﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Models
{
    public class PurchasePayApplyBody
    {
        /// <summary>
        /// 主键
        /// </summary>
        public decimal ID { get; set; }

        /// <summary>
        /// 主表ID
        /// </summary>
        public decimal HeadID { get; set; }

        /// <summary>
        /// 采购申请单号
        /// </summary>
        public string PPA_ApplyNo { get; set; }

        /// <summary>
        /// 订单总额
        /// </summary>
        public decimal PPA_TotalCost { get; set; }

        /// <summary>
        /// 物品（资产）编号
        /// </summary>
        public string PPA_ItemID { get; set; }

        /// <summary>
        /// 物品（资产）名称
        /// </summary>
        public string PPA_ItemName { get; set; }

        /// <summary>
        /// 规格型号
        /// </summary>
        public string PPA_Specs { get; set; }

        /// <summary>
        /// 计量单位
        /// </summary>
        public string PPA_Unit { get; set; }

        /// <summary>
        /// 单价（元）
        /// </summary>
        public decimal PPA_Price { get; set; }

        /// <summary>
        /// 申请数量
        /// </summary>
        public decimal PPA_ApplyQty { get; set; }

        /// <summary>
        /// 到货数量
        /// </summary>
        public decimal PPA_GetQty { get; set; }

        /// <summary>
        /// 未到货数量
        /// </summary>
        public decimal PPA_NotGetQty { get; set; }

        /// <summary>
        /// 已支付金额
        /// </summary>
        public decimal PPA_Paid { get; set; }

        /// <summary>
        /// 本次支付金额
        /// </summary>
        public decimal PPA_Pay { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public int IsDelete { get; set; }

        public PurchasePayApplyBody()
        {
            PPA_Paid = 0;
            IsDelete = 0;
        }

    }
}
